package groups.diseases.dao;

import java.sql.Connection;

import groups.common.dao.JDBCGenericDAO;
import groups.common.dao.SQLTable;
import groups.diseases.HumanSymptom;

public class JDBCHumanSymptomDAO extends JDBCGenericDAO<HumanSymptom> {
	
	public JDBCHumanSymptomDAO(Connection connection) throws SecurityException, NoSuchMethodException{
		table = new SQLTable(HumanSymptom.class, "HumanSymptom", connection);
		table.addColumnMethod("idHumanSymptom", "getId", true, true);
		table.addColumnMethod("description", "getDescription", false, false);
		table.addColumnMethod("bodyPart", "getBodyPart", false, false);	
	}
	
}
